<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------



use think\Route;



Route::get('/ppp','index/index/pcenter');
//登陆
Route::get('/login','index/index/login');
//注册
Route::get('/register','index/index/register');
Route::get('/singer','index/index/singer');


Route::get('/song_details','index/index/song_details');
Route::get('/song_sheet','index/index/song_sheet');

Route::get('/ranking','index/index/ranking');

Route::get('/grounding','index/index/grounding');
//我的音乐
Route::get('/mymusic','index/index/mymusic');

//会员中心路由
Route::get('/vip_center','index/index/vip_center');

//返回公告信息
Route::get('/infoto','index/index/getinfo');








//后台路由

Route::get('/admininfo','admin/Admininfo/admininfo');

Route::get('/home','admin/Index/home');
//后台登录

Route::get('/alogin','admin/Login/login');
// Route::get('/singers/[:id]','admin/Singers/delete');//后台歌手






//友情链接
// Route::get('/links','admin/links/index');
//Route::get('/linkes','admin/links/lst');
Route::get('/addlinks','admin/Links/add');


//商城首页
Route::get('/mall','mallindex/index/mall');

//商城详情
Route::get('/malldetail','mallindex/index/detail');
Route::get('del','admin/Links/del');

// 链接操作
Route::get('/edit/[:id]','admin/Links/edit');

Route::post('/addedit','admin/Links/edit');
Route::post('/addedits','admin/Links/edits');
Route::post('/addlinks','admin/Links/addLinks');


//排行榜编辑

//Route::post('/list_add','admin/toplist/list_add');
//Route::get('/del','admin/Toplist/del');

Route::get('/listedit/[:id]','admin/toplist/edit');

//Route::post('/topedit','admin/toplist/edit');









